/* 容器布局 */
.case-edit-container {
    max-width: 1200px;
    margin: 24px auto;
    padding: 0 16px;
}

/* 头部操作栏 */
.edit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #e0e6ed;
}

/* 配置卡片样式 */
.config-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(44, 131, 217, 0.1);
}

/* 表单元素样式 */
.form-label {
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 6px;
}

/* 右侧侧边栏 */
.side-section {
    width: 300px;
    margin-left: 24px;
}

/* 测试结果反馈 */
.test-result .alert {
    padding: 12px;
    border-radius: 6px;
}

/* 版本历史列表 */
.version-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f4f9;
    display: grid;
    grid-template-columns: 60px 1fr 2fr;
}


/* 步骤卡片 */
.step-card {
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    box-shadow: 0 2px 8px rgba(44, 131, 217, 0.1);
}

/* 拖拽手柄 */
.handle {
    opacity: 0.6;
    transition: opacity 0.2s;
}

.handle:hover {
    opacity: 1;
}

/* 协议表单 */
.protocol-config {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 1rem;
    margin-top: 1rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .step-header {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .protocol-select {
        flex: 1 0 100%;
    }
}